#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>

int main() {
    int x = 0;
    scanf("%d", &x);
    printf("%.0lf", (x + 1) * (x / 2.0));
    return 0;
}